<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file = "include/base.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'newcontact.jsp' starting page</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
  </head>
  
  <body class="body">
    <%@ include file="include/top.jsp" %>
    <div class="container" >
	  <div class="row">
		<div class="span3">
			<%@ include file="include/left.jsp" %>
		</div>
		<div class="span9">
			<form class="form-horizontal" antion="newcontact.jspx" method="post">
				<fieldset>
					<legend>添加新联系人</legend>
					<div class="control-group">
						<label class="control-label" >姓名</label>
						<div class="controls">
							<input type="text" class="span5" name="name">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" >公司</label>
						<div class="controls">
							<input type="text" class="span5" name="companyname">
						</div>
					</div>
					<div class="line"></div>
					<div class="control-group">
						<label class="control-label" >手机</label>
						<div class="controls">
							<input type="text" class="span5" name="mobile" >
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" >固话</label>
						<div class="controls">
							<input type="text" class="span5" name="tel" >
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">邮箱</label>
						<div class="controls">
							<input type="text" class="span5" name="email" >
						</div>
					</div>
					<div class="line"></div>
					<div class="control-group">
						<label class="control-label" >地址</label>
						<div class="controls">
						  <input type="text" class="span5" name="address" >
						</div>
					</div>
					<div class="line"></div>
				    <div class="control-group">
						<label class="control-label" >主页</label>
						<div class="controls">
							<input type="text" class="span5" name="website" >
							<p class="help-block">http://www.xxx.com</p>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">微博</label>
						<div class="controls">
							<select class="span2" name="weibotype">
								<option></option>
								<option>新浪微博</option>
								<option>腾讯微博</option>
								<option>Twitter</option>
							</select>
							<div class="input-prepend">
								<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" name="weibo" >
							</div>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" >简介</label>
						<div class="controls">
							<textarea class="span5" rows="6" name="content"></textarea>
						</div>
					</div>
		  
		  

					<div class="form-actions">
						<button type="submit" class="btn btn-primary">保存</button>
						<a class="btn" href="contact.jspx">返回</a>
					</div>
				</fieldset>
			</form>          

		</div>
	  </div>
	</div>
	<script type="text/javascript" src="js/jquery.min.js"></script>

  </body>
</html>
